/**********************************************************************************************************************
 *  COPYRIGHT
 *  -------------------------------------------------------------------------------------------------------------------
 *
 *                This software is copyright protected and proprietary to Vector Informatik GmbH.
 *                Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
 *                All other rights remain with Vector Informatik GmbH.
 *  -------------------------------------------------------------------------------------------------------------------
 *  FILE DESCRIPTION
 *  -------------------------------------------------------------------------------------------------------------------
 *          File:  Rte_CtApBlinkLed.h
 *        Config:  D:/Projects/Amp/03_Software/SIP_S32K14X/Application/SipAddon/S32K144_Handle_DEMO/S32K144_Start.dpa
 *     SW-C Type:  CtApBlinkLed
 *  Generated at:  Thu Apr 25 17:22:59 2024
 *
 *     Generator:  MICROSAR RTE Generator Version 4.19.0
 *                 RTE Core Version 1.19.0
 *       License:  CBD1800257
 *
 *   Description:  Application header file for SW-C <CtApBlinkLed> (Contract Phase)
 *********************************************************************************************************************/

/* double include prevention */
#ifndef _RTE_CTAPBLINKLED_H
# define _RTE_CTAPBLINKLED_H

# ifdef RTE_APPLICATION_HEADER_FILE
#  error Multiple application header files included.
# endif
# define RTE_APPLICATION_HEADER_FILE
# ifndef RTE_PTR2ARRAYBASETYPE_PASSING
#  define RTE_PTR2ARRAYBASETYPE_PASSING
# endif

# ifdef __cplusplus
extern "C"
{
# endif /* __cplusplus */

/* include files */

# include "Rte_CtApBlinkLed_Type.h"
# include "Rte_DataHandleType.h"


/**********************************************************************************************************************
 * Component Data Structures and Port Data Structures
 *********************************************************************************************************************/

struct Rte_CDS_CtApBlinkLed
{
  /* dummy entry */
  uint8 _dummy;
};

# define RTE_START_SEC_CONST_UNSPECIFIED
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

extern CONSTP2CONST(struct Rte_CDS_CtApBlinkLed, RTE_CONST, RTE_CONST) Rte_Inst_CtApBlinkLed; /* PRQA S 0850 */ /* MD_MSR_19.8 */

# define RTE_STOP_SEC_CONST_UNSPECIFIED
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

typedef P2CONST(struct Rte_CDS_CtApBlinkLed, TYPEDEF, RTE_CONST) Rte_Instance;


# define RTE_START_SEC_CODE
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

/**********************************************************************************************************************
 * API prototypes
 *********************************************************************************************************************/
# ifdef RTE_PTR2ARRAYBASETYPE_PASSING
FUNC(Std_ReturnType, RTE_CODE) Rte_Read_CtApBlinkLed_NvPp_ADemo_200B_Rx_ADemo(P2VAR(uint8, AUTOMATIC, RTE_CTAPBLINKLED_APPL_VAR) data); /* PRQA S 0850 */ /* MD_MSR_19.8 */
# else
FUNC(Std_ReturnType, RTE_CODE) Rte_Read_CtApBlinkLed_NvPp_ADemo_200B_Rx_ADemo(P2VAR(NvADemo_200Bytes, AUTOMATIC, RTE_CTAPBLINKLED_APPL_VAR) data); /* PRQA S 0850 */ /* MD_MSR_19.8 */
# endif
# ifdef RTE_PTR2ARRAYBASETYPE_PASSING
FUNC(Std_ReturnType, RTE_CODE) Rte_Write_CtApBlinkLed_NvPp_ADemo_200B_Tx_ADemo(P2CONST(uint8, AUTOMATIC, RTE_CTAPBLINKLED_APPL_DATA) data); /* PRQA S 0850 */ /* MD_MSR_19.8 */
# else
FUNC(Std_ReturnType, RTE_CODE) Rte_Write_CtApBlinkLed_NvPp_ADemo_200B_Tx_ADemo(P2CONST(NvADemo_200Bytes, AUTOMATIC, RTE_CTAPBLINKLED_APPL_DATA) data); /* PRQA S 0850 */ /* MD_MSR_19.8 */
# endif

# define RTE_STOP_SEC_CODE
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */



/**********************************************************************************************************************
 * Rte_Read_<p>_<d> (explicit S/R communication with isQueued = false)
 *********************************************************************************************************************/
# define Rte_Read_NvPp_ADemo_200B_Rx_ADemo Rte_Read_CtApBlinkLed_NvPp_ADemo_200B_Rx_ADemo


/**********************************************************************************************************************
 * Rte_Write_<p>_<d> (explicit S/R communication with isQueued = false)
 *********************************************************************************************************************/
# define Rte_Write_NvPp_ADemo_200B_Tx_ADemo Rte_Write_CtApBlinkLed_NvPp_ADemo_200B_Tx_ADemo




# define CtApBlinkLed_START_SEC_CODE
# include "CtApBlinkLed_MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */


/**********************************************************************************************************************
 *
 * Runnable Entity Name: NvSWC_NvMNotifyJobFinished_AppSwc_200B_JobFinished
 *
 *---------------------------------------------------------------------------------------------------------------------
 *
 * Executed if at least one of the following trigger conditions occurred:
 *   - triggered by server invocation for OperationPrototype <JobFinished> of PortPrototype <NvSWC_NvMNotifyJobFinished_AppSwc_200B>
 *
 **********************************************************************************************************************
 *
 * Runnable prototype:
 * ===================
 *   void NvSWC_NvMNotifyJobFinished_AppSwc_200B_JobFinished(NvM_ServiceIdType ServiceId, NvM_RequestResultType JobResult)
 *
 *********************************************************************************************************************/

# define RTE_RUNNABLE_NvSWC_NvMNotifyJobFinished_AppSwc_200B_JobFinished NvSWC_NvMNotifyJobFinished_AppSwc_200B_JobFinished
FUNC(void, CtApBlinkLed_CODE) NvSWC_NvMNotifyJobFinished_AppSwc_200B_JobFinished(NvM_ServiceIdType ServiceId, NvM_RequestResultType JobResult); /* PRQA S 0850 */ /* MD_MSR_19.8 */

/**********************************************************************************************************************
 *
 * Runnable Entity Name: RE_BlinkLed_Init
 *
 *---------------------------------------------------------------------------------------------------------------------
 *
 * Executed once after the RTE is started
 *
 *********************************************************************************************************************/

# define RTE_RUNNABLE_RE_BlinkLed_Init BlinkLed_Init
FUNC(void, CtApBlinkLed_CODE) BlinkLed_Init(void); /* PRQA S 0850 */ /* MD_MSR_19.8 */

/**********************************************************************************************************************
 *
 * Runnable Entity Name: RE_BlinkLed_Mainfunction
 *
 *---------------------------------------------------------------------------------------------------------------------
 *
 * Executed if at least one of the following trigger conditions occurred:
 *   - triggered on TimingEvent every 300ms
 *
 **********************************************************************************************************************
 *
 * Input Interfaces:
 * =================
 *   Explicit S/R API:
 *   -----------------
 *   Std_ReturnType Rte_Read_NvPp_ADemo_200B_Rx_ADemo(uint8 *data)
 *     Argument data: uint8* is of type NvADemo_200Bytes
 *
 * Output Interfaces:
 * ==================
 *   Explicit S/R API:
 *   -----------------
 *   Std_ReturnType Rte_Write_NvPp_ADemo_200B_Tx_ADemo(const uint8 *data)
 *     Argument data: uint8* is of type NvADemo_200Bytes
 *
 *********************************************************************************************************************/

# define RTE_RUNNABLE_RE_BlinkLed_Mainfunction BlinkLed_Mainfunction
FUNC(void, CtApBlinkLed_CODE) BlinkLed_Mainfunction(void); /* PRQA S 0850 */ /* MD_MSR_19.8 */

# define CtApBlinkLed_STOP_SEC_CODE
# include "CtApBlinkLed_MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

# ifdef __cplusplus
} /* extern "C" */
# endif /* __cplusplus */

#endif /* _RTE_CTAPBLINKLED_H */
